package com.legoo.studaychineseonline.bean;

public class ChangeBean {

    /**
     * data : {"client":{"type":"student","sex":"m","icon":"","user":"5c92ed49edf3293170fd52e9","nickname":"这是一个昵称","age":28,"phone":"+86-13936591067","id":"5c92ed49edf3293170fd52ea","password":"7c4a8d09ca3762af61e59520943dc26494f8941b","language":"zh","birth_year":1991,"coin":0}}
     * tag :
     * message : 修改用户信息成功
     * code : 0
     */

    private DataBean data;
    private String tag;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        /**
         * client : {"type":"student","sex":"m","icon":"","user":"5c92ed49edf3293170fd52e9","nickname":"这是一个昵称","age":28,"phone":"+86-13936591067","id":"5c92ed49edf3293170fd52ea","password":"7c4a8d09ca3762af61e59520943dc26494f8941b","language":"zh","birth_year":1991,"coin":0}
         */

        private ClientBean client;

        public ClientBean getClient() {
            return client;
        }

        public void setClient(ClientBean client) {
            this.client = client;
        }

        public static class ClientBean {
            /**
             * type : student
             * sex : m
             * icon :
             * user : 5c92ed49edf3293170fd52e9
             * nickname : 这是一个昵称
             * age : 28
             * phone : +86-13936591067
             * id : 5c92ed49edf3293170fd52ea
             * password : 7c4a8d09ca3762af61e59520943dc26494f8941b
             * language : zh
             * birth_year : 1991
             * coin : 0
             */

            private String type;
            private String sex;
            private String icon;
            private String user;
            private String nickname;
            private int age;
            private String phone;
            private String id;
            private String password;
            private String language;
            private int birth_year;
            private int coin;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getUser() {
                return user;
            }

            public void setUser(String user) {
                this.user = user;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getLanguage() {
                return language;
            }

            public void setLanguage(String language) {
                this.language = language;
            }

            public int getBirth_year() {
                return birth_year;
            }

            public void setBirth_year(int birth_year) {
                this.birth_year = birth_year;
            }

            public int getCoin() {
                return coin;
            }

            public void setCoin(int coin) {
                this.coin = coin;
            }
        }
    }
}
